package com.ruoyi.project.goods.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单明细对象 goods_order_head
 * 
 * @author lonsn
 * @date 2020-11-12
 */
public class GoodsOrderHead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单明细ID */
    private Long orderHeadId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 货物ID */
    @Excel(name = "货物ID")
    private Long goodsId;

    /** 单价 */
    @Excel(name = "单价")
    private Double preferentialPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 条码 */
    @Excel(name = "条码")
    private String barCode;
    /** 总金额 */
    @Excel(name = "总金额")
    private Double money;

    /** 条码 */
    @Excel(name = "货名")
    private String goodsName;
    /** 条码 */
    @Excel(name = "商品编号")
    private String styleNumber;
    /** 图片 */
    @Excel(name = "照片")
    private String imgPath;

    public void setOrderHeadId(Long orderHeadId)
    {
        this.orderHeadId = orderHeadId;
    }

    public Long getOrderHeadId()
    {
        return orderHeadId;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }

    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderHeadId", getOrderHeadId())
            .append("orderNo", getOrderNo())
            .append("goodsId", getGoodsId())
            .append("preferentialPrice", getPreferentialPrice())
            .append("quantity", getQuantity())
            .append("memo", getMemo())
                .append("barCode", getBarCode())
                .append("money", getMoney())
            .toString();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPreferentialPrice() {
        return preferentialPrice;
    }

    public void setPreferentialPrice(Double preferentialPrice) {
        this.preferentialPrice = preferentialPrice;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getStyleNumber() {
        return styleNumber;
    }

    public void setStyleNumber(String styleNumber) {
        this.styleNumber = styleNumber;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }
}
